package com.fivemin.website_statistics.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

public class BasePojo {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField(value = "create_time")
    private String createTime;

    public BasePojo() {
    }

    public BasePojo(Long id, String createTime) {
        this.id = id;
        this.createTime = createTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "BasePojo{" +
                "id=" + id +
                ", createTime='" + createTime + '\'' +
                '}';
    }
}
